/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Roger Freixes
 */
public class GestorPagaments {
       
    
    public static void main()
    {
        GestorPagaments gp = new GestorPagaments();
        CondicionsPagament c;
        c=gp.getCondicionsPagament('A',200, true);
        
        System.out.println("->"+c.importDescompte+" , "+c.portsPagats);
        
        
    }
    public CondicionsPagament getCondicionsPagament(char tipClient, float facturacio, boolean comptat){
        // TODO code application logic here
        boolean portsPagats=false;
        float descompte=0;
         
        // el vostre codi va aquí
        
        //________________________________
        
        CondicionsPagament cond = new CondicionsPagament(portsPagats, descompte);

         return cond;
    }
}
